#!/bin/sh -e

export DESTDIR="$1"
export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++"

cmake -B build \
    -DCMAKE_INSTALL_PREFIX=/usr

cmake --build   build
cmake --install build
